package com.dycx.user.dto;

import java.util.Date;

import com.dycx.common.ValidationGroup;
import com.dycx.common.dto.PageDTO;
import lombok.Data;

import java.io.Serializable;

import lombok.EqualsAndHashCode;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 资金明细(WithdrawDepositApply)参数类
 *
 * @author wuzongbing
 * @since 2024-08-22 01:03:00
 */

@EqualsAndHashCode(callSuper = true)
@Data
public class WithdrawDepositDTO extends PageDTO implements Serializable {


    /**
     * 自增id
     */
    private Integer id;
    /**
     * 用户id
     */
    private Integer uid;
    /**
     * 提现金额
     */
    @NotNull(message = "提现金额不能空", groups = {
            ValidationGroup.Insert.class,
    })
    /**
     * 提现金额
     */
    @Min(value = 50,message = "可提现余额不足，最低50元可提现", groups = {
            ValidationGroup.Insert.class,
    })
    private Integer amount;

    /**
     * 银行账号
     */
    @NotBlank(message = "银行账号不能为空", groups = {
            ValidationGroup.Insert.class,
    })
    private String bankAccountNumber;

    /**
     * 银行户名
     */
    @NotBlank(message = "银行账户名不能为空", groups = {
            ValidationGroup.Insert.class,
    })
    private String bankAccountName;

    /**
     * 申请结果
     */
    private Integer result;
    /**
     * 备注
     */
    private String remark;
    private String outTradeNo;




}
